from rest_framework import serializers
from .models import *


class ProjectSerializer(serializers.ModelSerializer):

    class Meta:
        depth = 0
        model = Project
        fields = '__all__'


class ApplicationTypeSerializer(serializers.ModelSerializer):

    class Meta:
        depth = 0
        model = ApplicationType
        fields = '__all__'


class ApplicationSerializer(serializers.ModelSerializer):

    class Meta:
        depth = 0
        model = Application
        fields = '__all__'


class ApplicationAttachmentSerializer(serializers.ModelSerializer):

    class Meta:
        depth = 0
        model = ApplicationAttachment
        fields = '__all__'
